package com.lifesting.front;

import javax.faces.component.UIComponent;
import javax.faces.event.FacesEvent;
import javax.faces.event.FacesListener;
//排序event很简单，只需要知道那个列即可
public class SortEvent extends FacesEvent {

	public SortEvent(UIComponent component) {
		super(component);
	}
	private static final long serialVersionUID = 6622593624695937795L;

	@Override
	public boolean isAppropriateListener(FacesListener listener) {
		return (listener instanceof Table.SorterListener);
	}

	@Override
	public void processListener(FacesListener listener) {
		// TODO Auto-generated method stub

	}

}
